package com.onlyyou.feignserver.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

/**
 * @Author: 小野
 * @Date: 2020/1/14 15:05
 * 用户服务
 */
@FeignClient(value = "user")
public interface UserService {
    @RequestMapping(value = "/test",method = RequestMethod.GET)
    String test();

    @RequestMapping(value = "/toLogin",method = RequestMethod.GET)
    String toLogin();


}
